<?xml version="1.0" encoding="UTF-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window" design="device:m;">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:27px;left:109px;"><div component="$UI/system/components/justep/data/data" autoLoad="false" xid="notesData" idColumn="id" onCustomRefresh="notesDataCustomRefresh"><column label="事件ID" name="id" type="Long" xid="xid1"></column>
  <column label="事件标题" name="title" type="String" xid="xid2"></column>
  <column label="事件详情" name="detail" type="String" xid="xid3"></column>
  <column label="创建时间" name="created" type="Integer" xid="xid4"></column>
  <column label="修改时间" name="modified" type="Integer" xid="xid5"></column>
  <data xid="default1">[{&quot;id&quot;:1,&quot;title&quot;:&quot;测试时间&quot;,&quot;detail&quot;:&quot;简要描述&quot;,&quot;created&quot;:&quot;1469096041&quot;,&quot;modified&quot;:&quot;1469096041&quot;}]</data>
  <column isCalculate="true" label="转换后的创建时间" name="createdTime" type="DateTime" xid="xid6"></column>
  <column isCalculate="true" label="转换后的修改时间" name="modifiedTime" type="DateTime" xid="xid7"></column>
  <rule xid="rule1">
   <col name="createdTime" xid="ruleCol1">
    <calculate xid="calculate1">
     <expr xid="default2">$model.int2Time( $row.val(&quot;created&quot;) + '000')</expr></calculate> </col> 
   <col name="modifiedTime" xid="ruleCol2">
    <calculate xid="calculate2">
     <expr xid="default3">$model.int2Time( $row.val(&quot;modified&quot;) + '000' )</expr></calculate> </col> </rule></div></div> 
<div component="$UI/system/components/justep/panel/panel" class="x-panel x-full" xid="panel1">
   <div class="x-panel-top" xid="top1"><div component="$UI/system/components/justep/titleBar/titleBar" class="x-titlebar" xid="titleBar1" title="事件列表">
   <div class="x-titlebar-left" xid="left1"><a component="$UI/system/components/justep/button/button" class="btn x-red btn-only-icon" label="注销" xid="logoutBtn" icon="linear linear-powerswitch" onClick="logoutBtnClick">
   <i xid="i1" class="linear linear-powerswitch"></i>
   <span xid="span1">注销</span></a></div>
   <div class="x-titlebar-title" xid="title1">事件列表</div>
   <div class="x-titlebar-right reverse" xid="right1"><a component="$UI/system/components/justep/button/button" class="btn btn-link btn-only-icon" label="管理" xid="manageBtn" icon="linear linear-sad">
   <i xid="i2" class="linear linear-sad"></i>
   <span xid="span2">管理</span></a></div></div></div>
   <div class="x-panel-content  x-scroll-view" xid="content1" _xid="C726496F8F100001F2641C4015B012C5">
  <div class="x-scroll" component="$UI/system/components/justep/scrollView/scrollView" xid="scrollView1">
   <div class="x-content-center x-pull-down container" xid="div1">
    <i class="x-pull-down-img glyphicon x-icon-pull-down" xid="i3"></i>
    <span class="x-pull-down-label" xid="span3">下拉刷新...</span></div> 
   <div class="x-scroll-content" xid="div2"><div component="$UI/system/components/justep/row/row" class="x-row" xid="row1">
   <div class="x-col" xid="col3"><div component="$UI/system/components/justep/output/output" class="x-output" xid="userInfoOutput"></div></div></div>
  <div component="$UI/system/components/justep/list/list" class="x-list" xid="list1" data="notesData">
   <ul class="x-list-template" xid="listTemplateUl1">
    <li xid="noteListItem" bind-click="noteListItemClick"><div component="$UI/system/components/justep/row/row" class="x-row" xid="row2">
   <div class="x-col" xid="col4"><div component="$UI/system/components/justep/output/output" class="x-output" xid="output2" bind-ref='ref("title")'></div></div>
   </div>
  <div component="$UI/system/components/justep/row/row" class="x-row" xid="row3">
   <div class="x-col x-col-fixed" xid="col7" style="width:auto;"><div component="$UI/system/components/justep/output/output" class="x-output" xid="output1" bind-ref='ref("createdTime")'></div></div>
  <div class="x-col" xid="col1"></div>
  <div class="x-col x-col-fixed" xid="col2" style="width:auto;"><div component="$UI/system/components/justep/output/output" class="x-output" xid="output3" bind-ref='ref("modifiedTime")'></div></div></div>
  <div component="$UI/system/components/justep/row/row" class="x-row" xid="row5">
   <div class="x-col" xid="col11"><div component="$UI/system/components/justep/output/output" class="x-output" xid="output4" bind-ref='ref("detail")'></div></div></div></li></ul> </div></div>
   <div class="x-content-center x-pull-up" xid="div3">
    <span class="x-pull-up-label" xid="span4">加载更多...</span></div> </div></div>
   <div class="x-panel-bottom" xid="bottom1"><div component="$UI/system/components/justep/button/buttonGroup" class="btn-group btn-group-justified" tabbed="true" xid="buttonGroup1"><a component="$UI/system/components/justep/button/button" class="btn btn-default btn-icon-left" label="新建事件" xid="addNoteBtn" icon="linear linear-bus" onClick="addNoteBtnClick">
   <i xid="i4" class="linear linear-bus"></i>
   <span xid="span5">新建事件</span></a></div></div></div></div>